﻿using System;
using Microsoft.VisualStudio.TestTools.UnitTesting;


using UserNotificationAspMvc;

namespace NotificationsUnitTests
{
    [TestClass]
    public class NotificationQueueTests
    {
        [TestMethod]
        public void NotificationQueueSetDefaultPositionToInline()
        {
            //arrange + act
            NotificationQueue queue = new UserNotificationAspMvc.NotificationQueue();

            //assert
            Assert.AreEqual(NotificationPosition.inline, queue.Position);
        }

        [TestMethod]
        public void NotificationQueueInitializesList()
        {
            //arrange + act
            NotificationQueue queue = new NotificationQueue();
            //assert
            Assert.IsNotNull(queue.Notifications);
        }

    }
}
